﻿@model LeadExpress.Models.ViewPages.ProductPrintModel
           
@{
    ViewBag.Title = "In phiếu thanh toán";
    Layout = "~/Views/Shared/_Layout.MyAccount.cshtml";
    var transaction = Model.ProductTransactionInfo;
}

<h2 class="app">
	<strong>Express - In phiếu thanh toán</strong>
</h2>			
<div class="title">
    <span class="right-btns"><a class="btn btn-print-small" href="javascript:window.print()">Print</a></span>
	<h3>Thông tin bản tin</h3>
</div>
		
<div class="columns">
	<div class="col ident" style="width:800px">
        <table id="printable" width="700px" cellpadding="2" cellspacing="0">
            <tr>
                <td style="border-bottom:solid 1px #ccc"><h2>Thông tin bản tin rao vặt tại Raovat24.Net</h2></td>
            </tr>
            <tr>
                <td>
                    
                    <table cellpadding="3" cellspacing="0">
                        <tr>
                            <td width="150px">Mã bản tin:</td>
                            <td class="bold">@Model.Id</td>
                        </tr>
                        <tr>
                            <td>Tiêu đề:</td>
                            <td class="bold">@Model.Title</td>
                        </tr>
                        <tr>
                            <td>Rao vặt toàn quốc:</td>
                            <td class="bold">@Model.ShowAllSates</td>
                        </tr>
                        <tr>
                            <td>Tỉnh/thành phố:</td>
                            <td class="bold">@Model.StateName</td>
                        </tr>
                        <tr>
                            <td>Quận/huyện:</td>
                            <td class="bold">@Model.DistrictName</td>
                        </tr>
                        <tr>
                            <td>Tất cả danh mục:</td>
                            <td class="bold">@Model.ShowAllCategories</td>
                        </tr>
                        <tr>
                            <td>Danh mục:</td>
                            <td class="bold">@Model.CategoryName</td>
                        </tr>
                        <tr>
                            <td>Danh mục:</td>
                            <td class="bold">@Model.SubCategoryName</td>
                        </tr>
                    </table>
                </td>
            </tr>
            @if (transaction != null)
            {
                <tr>
                    <td style="border-bottom:solid 1px #ccc;padding-top:20px;"><h2>Thông tin giao dịch</h2></td>
                </tr>
                <tr>
                    <td>
                        
                    
                        <table cellpadding="0" cellspacing="0">
                            <tr>
                                <td width="150px">Loại bản tin:</td>
                                <td class="bold">@transaction.OptionName</td>
                            </tr>
                            <tr>
                                <td>Giá:</td>
                                <td class="bold">@transaction.Price</td>
                            </tr>
                            <tr>
                                <td>Đơn giá:</td>
                                <td class="bold">@transaction.UnitPrice</td>
                            </tr>
                            <tr>
                                <td>Từ ngày:</td>
                                <td class="bold">@transaction.StartDate</td>
                            </tr>
                            <tr>
                                <td>Đến ngày:</td>
                                <td class="bold">@transaction.EndDate</td>
                            </tr>
                            <tr>
                                <td>Phương thức thanh toán:</td>
                                <td class="bold">@transaction.PaymentName</td>
                            </tr>
                            <tr>
                                <td>Mã giao dịch:</td>
                                <td class="bold">@transaction.TransactionGuid</td>
                            </tr>
                            <tr>
                                <td>Ngày giao dịch:</td>
                                <td class="bold">@transaction.TransactionDate</td>
                            </tr>
                        </table>
                    </td>
                </tr>
            }
        </table>
	</div>
</div>  

<div class="foot-info">
	<h3 class="centered-wbtn centered-wbtn-bottom save">
  		<span>
  			<a class="btn btn-cancel-page" href="/MyAccount/ProductList">previous</a>
			<input type="button" class="btn btn-print" onclick="window.print()" />
        </span>
	</h3>
</div>
<script type="text/javascript">
    var data = null;
</script>